package com.ruoyi.hotel.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 房间列表对象 hl_room
 * 
 * @author ruoyi
 * @date 2022-12-10
 */
public class HlRoom extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 房间id */
    private Integer id;

    /** 房间类型id */
    private Integer roomTypeId;

    /** 房间人数 */
    private Integer num;

    /** 房间状态 */
    private String state;

    /** 设备id */
    private String deviceId;

    /** 设备个数 */
    private String deviceCount;



    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setRoomTypeId(Integer roomTypeId)
    {
        this.roomTypeId = roomTypeId;
    }

    public Integer getRoomTypeId()
    {
        return roomTypeId;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getState()
    {
        return state;
    }
    public void setDeviceId(String deviceId) 
    {
        this.deviceId = deviceId;
    }

    public String getDeviceId() 
    {
        return deviceId;
    }
    public void setDeviceCount(String deviceCount) 
    {
        this.deviceCount = deviceCount;
    }

    public String getDeviceCount() 
    {
        return deviceCount;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("roomTypeId", getRoomTypeId())
            .append("num", getNum())
            .append("state", getState())
            .append("deviceId", getDeviceId())
            .append("deviceCount", getDeviceCount())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
